package com.spider.spiderflowable.business.entity.param;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @author xiong.bo
 * @version 1.0
 * @date 2024/5/19 3:32 下午
 */

@Data
public class BaseQueryParam {


    //当前页数
    private int page = 1;

    //每页数量
    private int pageSize = 10;


    public <T> Page<T> buildPage() {
        return Page.of(page, pageSize);
    }

}
